home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0185.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  1.3 KB  |  42 lines

  1.  
  2. >> 
  3. >> Hi I am new on this Amos list so hopefully here goes:-
  4. >> 
  5. >> Is it possible at all to replace the sad Amos error message which comes
  6. >> up when you are:-
  7. >> 
  8. >> 1) Write to disk that is not there?
  9. >> 
  10. >> 2) Load A file when disk is not in Df0: ?
  11. >> 
  12. >> 3) Save a file to a disk when write protected ?
  13. >> 
  14. >> The on error level trapping doesnt seem to work with these errors and instea>
  15. >> of my very fancy error procedure executing a get the usual sad Amos Requester?
  16. >> 
  17. Usually i use this way (but i work in Amos Pro!):
  18.  
  19. > - Insert command Request Off at the start of your program. It turn off Amos
  20. Pro Requester.
  21.  
  22. > - Use error-handling routines that get an error if it occours 
  23. >  EX: A=Errn
  24.  
  25. >  - Write a procedure that allows you to print a different error message
  26. >    on the screen or a procedure that flash if an error comes.
  27.  
  28. >    I used this way to get errors in my Pattern Generator V11 program and
  29. >    it seems to work fine...
  30.  
  31. >    However, if you have this problem, i can search my procedures and
  32. >    send you a copy...
  33.  
  34. >    Hallo from Luca "Storm" (aldo@di.unito.it)
  35.  
  36. Sorry if I didnt make my self clear but I am using Amos 1.35 so I cant use 
  37. AmosPro commands :(
  38.  
  39. I have tried the on error command and a=err or something like that and it just
  40. doesnt seem to have any effect on disk i/o errors. :( 
  41.  
  42.